﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="RoundTournamentPlayInfo.ascx.cs" Inherits="VirtualTournaments.Frontend.MenuControls.GenericControls.RoundTournamentPlayInfo" %>

<%@ Register TagPrefix="GenericControls" TagName="TeamInfo" Src="~/MenuControls/GenericControls/TeamInfo.ascx" %>
<%@ Register TagPrefix="GenericControls" TagName="JourneyManager" Src="~/MenuControls/GenericControls/JourneyManager.ascx" %>
    
<asp:Panel ID="ContentPanel" runat="server">
    <asp:MultiView ID="RoundTournamentViewControler" runat="server" ActiveViewIndex="0">
    
        <asp:View ID="TournamentPlayInfoView" runat="server">
            <asp:Table ID="ContentTable" runat="server" Width="100%" Height="100%">
                <asp:TableHeaderRow>
                    <asp:TableHeaderCell HorizontalAlign="Center">
                        <asp:Label ID="TournamentNameLabel" runat="server"></asp:Label>
                    </asp:TableHeaderCell>
                </asp:TableHeaderRow>
                <asp:TableRow>
                    <asp:TableCell Width="100%" VerticalAlign="Top">
                        <GenericControls:JourneyManager ID="JourneyManager" runat="server" ></GenericControls:JourneyManager>                        
                    </asp:TableCell>
                </asp:TableRow>
            </asp:Table>
            <br />
            
            <asp:Table ID="PlayOptionButtonsTable" runat="server" Width="100%">
                <asp:TableRow>
                    <asp:TableCell HorizontalAlign="Right">
                        <asp:Button ID="GetNextJourneyButton" runat="server" Text="Next Journey" OnClick="GetNextJourneyButton_OnClick" 
                        onmouseover ="this.style.cursor='hand'" BackColor="Transparent" BorderStyle="None" Font-Size="Medium" Font-Bold="true"/>
                    </asp:TableCell>
                    
                    <asp:TableCell  HorizontalAlign="Center">
                        <asp:Button ID="PlayMatchesButton" runat="server" Text="Play Matches" OnClick="PlayMatchesButton_OnClick" 
                        onmouseover ="this.style.cursor='hand'" BackColor="Transparent" BorderStyle="None" Font-Size="Medium" Font-Bold="true"/>
                    </asp:TableCell>
                </asp:TableRow>
            </asp:Table>
            
            <br />
            <div id="Div1" class="ButtonBackDivCssClass">
                <asp:Button ID="TournamentInfoGoBackButton" runat="server" OnClick="TournamentInfoGoBackButton_OnClick" Text="< Go Back >" 
                CssClass="CreateTournamentButtonCssClass" BackColor="Transparent" BorderStyle="None"/>
            </div>
        </asp:View>
        
        <asp:View ID="TeamInfoView" runat="server">
            <GenericControls:TeamInfo ID="TeamInfoControler" runat="server" />
            
            <div id="ButtonBackDiv" class="ButtonBackDivCssClass">
                <asp:Button ID="TeamInfoGoBackButton" runat="server" OnClick="TeamInfoGoBackButton_OnClick" Text="< Go Back >" 
                CssClass="CreateTournamentButtonCssClass" BackColor="Transparent" BorderStyle="None"/>
            </div>
        </asp:View>
    </asp:MultiView>
</asp:Panel>   